package www.wen.com.common.lib.base.module

import androidx.lifecycle.LifecycleObserver
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import www.wen.com.common.lib.data.entities.builtIn.LoadingDialog
import www.wen.com.common.lib.data.entities.builtIn.LoadingHelperUiState
import www.wen.com.common.lib.data.entities.builtIn.UiStateCustom
import javax.inject.Inject

/**
 * @author WEN
 * @Description:
 * @date 2020/11/2 17:35
 */
@HiltViewModel
open class BaseViewModel @Inject constructor() : ViewModel(), LifecycleObserver {

    val loading = MutableLiveData<UiStateCustom<LoadingDialog>>()

    val loadingUiHelper = MutableLiveData<LoadingHelperUiState>()

}